<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div id="box">
      <button onclick="save()">保存</button>
      <button onclick="add()">添加</button>
      <button onclick="del()">删除</button>
    </div>
    <script>
      function save() {
        console.log("save");
      }

      function add() {
        console.log("add");
      }

      function del() {
        console.log("del");
      }
    </script>
  </body>
</html>
